<template>
    <div>
      <div>
        <div class="relativeDensity">
          <!-- 20℃密度输入框 -->
          <div class="item">
            d <sub>4</sub><sup style="margin-left:-12px">20</sup> =
            <el-input size="mini" style="width:100px" v-model="liquidDensityData.densityRelative.x1"></el-input>
          </div>
          <!-- 密度温度公式手动输入框 -->
          <div class="item">
            d
            <sub>4</sub>=d
            <sub>4</sub>
            <sup style="margin-left:-12px">20</sup>-
            <el-input size="mini" placeholder="s" style="width:100px" v-model="liquidDensityData.densityRelative.x2"></el-input>(T-20)
          </div>
          <!-- 公式解释 -->
          <div class="item">
            d
            <sub>4</sub>——油品的相对密度
            <br />d
            <sub>4</sub>
            <sup style="margin-left:-12px;">20</sup>——油品在20℃时的相对密度
            <br />s——温度系数
            <br />
            <div>
              T——油品温度
            </div>
          </div>
        </div>
      </div>
    </div>
</template>

<script>
  export default {
    name: "fluidDensityInputModel4",
    data(){
      return{
        liquidDensityData:JSON.parse(window.sessionStorage.getItem("liquidDensityData")),
        densityRelative:{
          densityId:'',
          id:'',
          x1:'',
          x2:'',
        },
      }
    },
    mounted() {
      console.log(this.liquidDensityData);
    },
    methods:{

    },
  }
</script>

<style>

</style>
